Adding an Edge in a Cograph
نویسندگان
چکیده
In this paper, we establish structural properties of cographs which enable us to present an algorithm which, for a cograph G and a non-edge xy (i.e., two non-adjacent vertices x and y) of G, finds the minimum number of edges that need to be added to the edge set of G such that the resulting graph is a cograph and contains the edge xy. The motivation for this problem comes from algorithms for the dynamic recognition and online maintenance of graphs; the proposed algorithm could be a suitable addition to the algorithm of Shamir and Sharan [13] for the online maintenance of cographs. The proposed algorithm runs in time linear in the size of the input graph and requires linear space.
منابع مشابه
On Symbolic Ultrametrics, Cotree Representations, and Cograph Edge Decompositions and Partitions
Symbolic ultrametrics define edge-colored complete graphs Kn and yield a simple tree representation of Kn. We discuss, under which conditions this idea can be generalized to find a symbolic ultrametric that, in addition, distinguishes between edges and non-edges of arbitrary graphs G = (V,E) and thus, yielding a simple tree representation of G. We prove that such a symbolic ultrametric can only...
متن کاملA note on probe cographs
Let G be a graph and letN1, . . . ,Nk be k independent sets in G. The graph G is a k-probe cograph if G can be embedded into a cograph by adding edges between vertices that are contained in the same independent set. We show that there exists an O(k ·n) algorithm to check if a graph G is a k-probe cograph.
متن کاملOn Tree Representations of Relations and Graphs: Symbolic Ultrametrics and Cograph Edge Decompositions
Tree representations of (sets of) symmetric binary relations, or equivalently edge-colored undirected graphs, are of central interest, e.g. in phylogenomics. In this context symbolic ultrametrics play a crucial role. Symbolic ultrametrics define an edge-colored complete graph that allows to represent the topology of this graph as a vertex-colored tree. Here, we are interested in the structure a...
متن کاملCograph Recognition Algorithm Revisited and Online Induced P4 Search
In 1985, Corneil, Perl and Stewart CPS85] gave a linear incremental algorithm to recognize cographs (graphs with no induced P4). When this algorithm stops, either the initial graph is a cograph and the cotree of the whole graph has been built, or the initial graph is not a cograph and this algorithm ends up with a vertex v and a cotree cot such that v cannot be inserted in cot; so the input gra...
متن کاملCharacterisations and Linear-Time Recognition of Probe Cographs
Cographs are those graphs without induced path on four vertices. A graph G is a probe cograph if its vertex set can be partitioned into two sets, N (non-probes) and P (probes) where N is independent and G can be extended to a cograph by adding edges between certain non-probes. A partitioned probe cograph is a probe cograph with a given partition in N and P . We characterise probe cographs in se...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005